package com.hehao.java_basic.design_mode.behaviour.chain_of_responsibility.demo;

import com.hehao.common.entiy.Request;

public abstract class Handler {
    protected Handler successor;

    public Handler(Handler successor) {
        this.successor = successor;
    }

    protected abstract void handleRequest(Request request);
}